public class Demo19 {
public static void main(String[] args) {
    Object locker=new Object();
    synchronized(locker){
        synchronized(locker){
           synchronized(locker){
         
           }
        }
    }
}
}
